<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>前往微信小程序</title>
    <link rel="icon" href="javascript:;">
    <style>
        #app {
            margin: 0;
            padding: 0;
            width: 100vw;
            height: 100vh;
            box-sizing: border-box;
        }

        .content {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
        }
        .content div {
            margin: 1rem 0;
        }
        .weapp_name{
            font-size: 1.5rem;
        }

        img {
            border: 0;
            vertical-align: middle;
        }

        .btn-success {
            color: #fff;
            background-color: #5cb85c;
            border-color: #4cae4c;
        }
        .btn {
            display: inline-block;
            padding: 6px 12px;
            font-size: 14px;
            border: 1px solid transparent;
            border-radius: 4px;
        }
        a {
            color: #337ab7;
            text-decoration: none;
        }
    </style></head>

<body>

<div id="app">
    <div class="content">
        <div>
            <img src="{{$cover}}" alt="">
        </div>
        <div class="weapp_name">
            {{$name}}
        </div>
        <div>
            <a href="{{$url}}" class="btn btn-success">点击前往小程序</a>
        </div>
    </div>
</div>

<script>
    window.location.href="{{$url}}";
</script></body></html>